// 2013-9-26下午02:50:07  net.betou.trade.share.ContentTemplate.java

package net.betou.trade.share;

import net.betou.common.page.Pagination;
import net.betou.trade.entity.main.AgentAndAdmins;

import org.springframework.stereotype.Component;
import org.springframework.ui.ModelMap;

/**
 * 
 * @author 叶装装
 */
@Component
public class ContentTemplate extends TemplateAbstract{

	public void setPage( ModelMap model, AgentAndAdmins admin, Integer pageSize, Integer pageNo, String searchProperty, String searchValue, String orderProperty, String orderDirection, String filterStatus ) {
		Pagination pagination = mng.getContentPage( admin, searchProperty, searchValue, orderProperty, orderDirection, pageNo, pageSize );
		paramToModel( model, pagination, null, pageSize, searchProperty, searchValue, orderProperty, orderDirection, filterStatus );
	}
	
}
